package com.softeem.j2001.service.impl;

import com.softeem.j2001.mapper.ItemMapper;
import com.softeem.j2001.pojo.Item;
import com.softeem.j2001.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ItemServiceImpl implements ItemService{
    @Autowired
    private ItemMapper itemMapper;
    @Override
    public List<Item> getItemList() {
        return itemMapper.selectByExample(null);
    }
}
